package model.DTO;

public class OrderPaymentDTO {
    private String orderNumber;
    private int payMethod;

    public OrderPaymentDTO() {
    }

    public OrderPaymentDTO(String orderNumber, int payMethod) {
        this.orderNumber = orderNumber;
        this.payMethod = payMethod;
    }

    /**
     * 获取
     * @return orderNumber
     */
    public String getOrderNumber() {
        return orderNumber;
    }

    /**
     * 设置
     * @param orderNumber
     */
    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    /**
     * 获取
     * @return payMethod
     */
    public int getPayMethod() {
        return payMethod;
    }

    /**
     * 设置
     * @param payMethod
     */
    public void setPayMethod(int payMethod) {
        this.payMethod = payMethod;
    }

    public String toString() {
        return "OrderPaymentDTO{orderNumber = " + orderNumber + ", payMethod = " + payMethod + "}";
    }
}
